﻿using System;
using System.Collections.Generic;
using System.Web;

using OctoOS;
using OctoOS.UI;

public partial class samples_tabs : OOSPage
{
	class PathInfo
	{
		[PathInfoMember(0, true)]
		[RangeValidator(0, 3)]
		internal int tabIndex = 0;
	}

   protected void Page_Init(object sender, EventArgs e)
   {
		PathInfo pathInfo = EnablePathInfo<PathInfo>();

        if (0 < pathInfo.tabIndex) { }

#warning tab.selectedIndex
			//tabs.SelectedIndex = pathInfo.tabIndex - 1;

		//msg.Text = "Selected tab index: " + tabs.SelectedIndex;
	}

   protected void Page_Load(object sender, EventArgs e)
   {
		AddBreadcrumb("", Urls.GetHome());
		AddBreadcrumb("Samples", Urls.Samples.GetHome());

		DataBind();
   }
}